From: Paul Eggert Date: Thu, 14 Apr 2011 00:42:10 +0000 (-0700) Subject: * indent.c (val_compute_motion, val_vmotion): Now static. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4132^2~33 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9b28faa3cecfdd37bc76fc91b5f99c14829e0329;p=emacs.git * indent.c (val_compute_motion, val_vmotion): Now static. --- diff --git a/src/ChangeLog b/src/ChangeLog index c8f69289049..3755e04a6b5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-13 Paul Eggert + * indent.c (val_compute_motion, val_vmotion): Now static. + * image.c: Make symbols static if they're not exported. * dispextern.h (x_create_bitmap_from_xpm_data): Do not declare if USE_GTK. diff --git a/src/indent.c b/src/indent.c index 84476e7bbdb..5eab4f48f69 100644 --- a/src/indent.c +++ b/src/indent.c @@ -1044,7 +1044,7 @@ The return value is the current column. */) /* compute_motion: compute buffer posn given screen posn and vice versa */ -struct position val_compute_motion; +static struct position val_compute_motion; /* Scan the current buffer forward from offset FROM, pretending that this is at line FROMVPOS, column FROMHPOS, until reaching buffer @@ -1818,7 +1818,7 @@ visible section of the buffer, and pass LINE and COL as TOPOS. */) /* Fvertical_motion and vmotion */ -struct position val_vmotion; +static struct position val_vmotion; struct position * vmotion (register EMACS_INT from, register EMACS_INT vtarget, struct window *w)